
package com.be.beadmin.product.dto.output;

import com.be.beadmin.common.entity.BaseEx;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
* @description 生产工序执行的简单信息
* @author zjm
* @date 2023-03-19
**/
@Data
public class ProductManufactExecuteEx extends BaseEx{
    private Integer isProductionProcess;
    private String batchProductCode;
    private Integer AlertStatus;
    private String workOrderInforCode;
    private String workOrderInforId;
    private String batchProductId;

    @JsonFormat(
            pattern = "yyyy-MM-dd kk:mm:ss",
            timezone = "GMT+8"
    )
    private Date manufactEndDate;

    @JsonFormat(
            pattern = "yyyy-MM-dd kk:mm:ss",
            timezone = "GMT+8"
    )
    private Date manufactStartDate;

    private int sequence;
    private String memo;

    private Date planManufactEndDate;

    private Date planManufactStartDate;

    private String processCode;
    /**
     * 0暂停计时
     * 1计时中
     * 2计时结束
     */
    private Integer timeFlag;

    private BigDecimal processErrorFlag;

    private String processId;

    private String processName;
    private BigDecimal processStatus;
    private Float ManufactWorkhour ;
    private Float standManufactWorkhour;

    private int standCycle;
}